package com.cly.entity;

import com.cly.base.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * 群组成员
 *
 * @author by 春风能解释
 * <p>
 * 2025/1/25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "群组成员实体类", description = "群组成员实体类")
@NoArgsConstructor
@Accessors(chain = true)
public class GroupMember extends BaseEntity {

    /**
     * 序列化id
     */
    @Serial
    private static final long serialVersionUID = 8875208036916855482L;
    /**
     * 群组id
     */
    @Schema(description = "群组id")
    private Long groupId;
    /**
     * 用户id
     */
    @Schema(description = "用户id")
    private Long userId;
}
